/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package beans;

import dto.Topics;
import java.util.Vector;
import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;

/**
 *
 * @author ZiZo
 */
public class testTopicsBean extends org.apache.struts.action.ActionForm {
    
   
    private int number[];
    String rename  = "Rename TOpic";
    private Vector<Topics> topics = new Vector<Topics>();
    private String name;
    /**
     * @return
     */
    public int[] getNumber() {
        return number;
    }

    public String getRename() {
        return rename;
    }

    public void setRename(String rename) {
        this.rename = rename;
    }

    /**
     * @param i
     */
    public void setNumber(int i[]) {
        number = i;
    }

    /**
     *
     */
    public testTopicsBean() {
        super();
        // TODO Auto-generated constructor stub
    }

    /**
     * This is the action called from the Struts framework.
     * @param mapping The ActionMapping used to select this instance.
     * @param request The HTTP Request we are processing.
     * @return
     */
    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
        return super.validate(mapping, request);
    }

    /**
     * @return the topics
     */
    public Vector<Topics> getTopics() {
        return topics;
    }

    /**
     * @param topics the topics to set
     */
    public void setTopics(Vector<Topics> topics) {
        this.topics = topics;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }
}
